/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/*package org.activiti;

import java.util.List;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.MediaType;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@Configuration
@EnableWebMvc
public class WebConfig extends WebMvcConfigurerAdapter {

    /*@Override
    public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
        converters.clear();
        MappingJackson2HttpMessageConverter jsonConverter = new MappingJackson2HttpMessageConverter();
        List<MediaType> jsonTypes = new ArrayList<MediaType>();
        jsonTypes.add(MediaType.APPLICATION_JSON);
        jsonConverter.setSupportedMediaTypes(jsonTypes);
        converters.add(jsonConverter);
    }*/
    /*@Override
    public void configureMessageConverters(List<HttpMessageConverter<?>> httpMessageConverters) {
        //httpMessageConverters.add(new QueryMessageConverter(new MediaType("application", "json")));
        httpMessageConverters.add(new MappingJackson2HttpMessageConverter());
    }
    
}*/
